package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_common_wish_select_reward", autoSave = true,uploadCk = true,desc = "集市-大奖选择")
public class LogCommonWishSelectBigReward extends ServerBaseLog{

    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    int activityId;

    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    long userId;

    @FieldTypeAnnotation(desc = "轮次，初始1")
    int round;

    @FieldTypeAnnotation(desc = "所选大奖")
    String reward;

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogCommonWishSelectBigReward(int activityId, long userId, int round, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.round = round;
        this.reward = reward;
        this.logTime = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
